{% extends "menu.html" %}
{% block content %}

        <!-- page content -->
        <div class="right_col" role="main">
          <div class="">
            <div class="page-title">



            </div>
            <div class="clearfix"></div>
            <div class="row">
              <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2>域名列表 </h2>

                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content">
                    <div class="table-responsive">
                      <table class="table table-striped jambo_table bulk_action">
                        <thead>
                          <tr class="headings">
                            <th class="column-title">domain_id </th>
                            <th class="column-title">domain_name </th>
                            <th class="column-title">domain_records </th>
                            <th class="column-title">domain_ower </th>
                              <th class="column-title">domain_type </th>
                            <th class="column-title">管理 </th>
                          </tr>
                        </thead>

                        <tbody>
                        {% for domain in domain_list %}
                          <tr class="even pointer">

                            <td class=" ">{{ domain.domain_id }}</td>
                              <td class=" ">{{ domain.domain_name }}</td>
                            <td class=" ">{{ domain.domain_records }}</td>
                            <td class=" ">{{ domain.domain_ower__key_name }} </td>
                              <td>{{ domain.domain_ower__domaintype }}</td>
                            <td class=""><a href="/domain/record/?domaintype={{ domain.domain_ower__domaintype }}&domain_id={{ domain.domain_id }}&status=add&id={{ id }}">添加记录</a>
                            |<a href="/domain/record/?domaintype={{ domain.domain_ower__domaintype }}&domain_id={{ domain.domain_id }}&statis=show&id={{ id }}">查询记录</a></td>

                            </td>
                          </tr>
                        {% endfor %}


                        </tbody>
                      </table>
                    </div>

                  </div>
                </div>
              </div>
            </div>


          </div>
        </div>
{% endblock %}